<?php

/* * 
 * 网站配置模型
 * Some rights reserved：rfcsite.com
 * Contact email:458481812@qq.com
 */
namespace Admin\Model;
use Common\Model\CommonModel;

/**
 * 系统配置模型类
 * Class AuthGroupModel
 */


class ConfigModel extends CommonModel {
    
    public function data_cache(){
        
     	$data = $this->getField("name,value,group");
     	
     	foreach ($data  as $key=>$v){
     		
     		$t[$v[group]][$v[name]]=$v[value];
     		
     	}
     	foreach ($t  as $key=>$v){
     		 
     		F("Config_".$key, $v);
     		 
     	}
        	

        
       
    }


}

?>
